import {
  commonRemove,
  commonSubmit,
  getCommonPage,
} from "@/api/business/common";

export const getPage = (page, params) => {
  return getCommonPage("/admin/profitmachinerule/page", page, params);
};

export const submit = (form) => {
  return commonSubmit("/admin/profitmachinerule/submit", form);
};

export const remove = (id) => {
  return commonRemove("/admin/profitmachinerule/remove", id);
};
